import { lazy } from "react";
import { AppRouteObject } from "types/router";
import { DashboardOutlined } from "@ant-design/icons";

const HomePage = lazy(() => import("@/pages/dashboard")); // 仪表盘页面

const Dashboard: AppRouteObject = {
  order: 1,
  path: "dashboard",
  element: <HomePage />,
  meta: { title: "仪表盘", icon: <DashboardOutlined />, key: "/dashboard" },
};

export default Dashboard;
